/*
 * Collection.java
 *
 * Created on 4 f�vrier 2008, 10:38
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.great.beans;

import java.io.*;
import java.util.Vector;
import java.util.Date;

/**
 *
 * @author defautce
 */
public class Collection {
    // Java Beans which represent a photomap collection
    private int ID_Collection; //ID in the database
    private String name; // collection's name
    private String URI; // uri of the owl file
    private String URIImageSymbol; // uri of the image which symbolize the collection
    private Vector<Photo> photos; // the photos of the collection
    private Vector<Tag> tags; // a list of tags
    private String contentAnnotation; // a content annotation of the collection
    private Date begin; // beginning of the collection
    private Date end; // end of the collection
    private String about; // identifiant of the collection
    private Vector<TrackPoint> trackPointList;  // list of points saved by the mobile
    private Point centerCollection; // center of the collection

    /** Creates a new instance of Collection */
    public Collection() {
    }
    
    /** getter and setter */
    public Vector<TrackPoint> getTrackPointList() {
        return trackPointList;
    }

    //public void setTrackPointList(Vector<TrackPoint> trackPointList) {
      //  this.trackPointList = trackPointList;
    //}

    public void setName(String name){
        this.name = name;
    }
    public String getName () {
        return this.name;
    }
    
    public void setURI (String uri){
        this.URI = uri;
    }
    public String getURI (){
        return this.URI;
    }
    
    public void setURIImageSymbol (String uriImageSymbol){
        this.URIImageSymbol = uriImageSymbol;
    }
    public String getURIImageSymbol (){
        return this.URIImageSymbol;
    }
    
    public void setPhotos (Vector<Photo> photos){
        this.photos = photos;
    }
    public Vector<Photo> getPhotos(){
        return this.photos;
    }
    
    public void setTags (Vector<Tag> tags){
        this.tags = tags;
    }
    public Vector<Tag> getTags (){
        return this.tags;
    }
    
    public void setContentAnnotation(String contentAnnotation){
        this.contentAnnotation = contentAnnotation;
    }
    public String getContentAnnotation (){
        return this.contentAnnotation;
    }
    
    public void setBegin(Date d){
        this.begin = d;
    }
    
    public Date getBegin(){
        return this.begin;
    }
    
     public void setEnd(Date d){
        this.end = d;
    }
    
    public Date getEnd(){
        return this.end;
    }
    
    public String getAbout() {
        return about;
    }

    public void setAbout(String about) {
        this.about = about;
    }
    
    public int getID_Collection(){
        return this.ID_Collection;
    }
    public void setID_Collection(int ID_Collection){
        this.ID_Collection = ID_Collection;
    }
    
    public Point getCenterCollection() {
        return centerCollection;
    }
    public void setCenterCollection(Point centerCollection) {
       // System.out.println("Centre:"+centerCollection.getLatitude()+","+centerCollection.getLongitude());
        this.centerCollection = centerCollection;
    }

    public void setTrackPointList(Vector<TrackPoint> trackList) {
       this.trackPointList = trackList;
    }
}
